#
# Makefile
#
# $Id: //poco/1.3/Net/samples/EchoServer/Makefile#1 $
#
# Makefile for Khan NOS CLI Server
#


include $(POCO_BASE)/build/rules/global

DEFAULT_TARGET = shared_debug
POCO_ADD_INCLUDE=$(BOOST_ROOT)
POCO_ADD_LIBRARY=$(BOOST_ROOT)/stage/lib.static

OPT=-gcc44-mt

POCO_LIBS   =  
BOOST_LIBS  = boost_iostreams boost_system boost_thread boost_date_time boost_regex boost_serialization 
#BOOST_LIBS  = boost_iostreams$(OPT) boost_system$(OPT) boost_thread$(OPT) boost_date_time$(OPT) boost_regex$(OPT) boost_serialization$(OPT)

khan = khan util
vty = vty_session vty_manager vty_input pty_shell telnet_opt vty_dft_command
command = command2 command_manager cmd_mng  cmd_db_worker
agent =  cmd_mng_session
server = io_service_pool

objects = tst io_service_pool vty_ipc_msg $(khan) $(vty) $(command) $(agent)
target  = tclid


################ TST CMD #$####################

#tclass = command2 cmd_mng util
#objects = khan tst_cmd tst_cmd_node tst_cmd_build $(tclass)

target_version  = 1
target_libs     = ${BOOST_LIBS}  util

include $(POCO_BASE)/build/rules/exec
